LogDomain

class LogDomain : Domain

Provides access to log entries.

Functions

clear
Link copied to clipboard
fun clear(): Single<RequestResponseFrame>
Clears the log.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables log domain, prevents further log entries from being reported to the client.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables log domain, sends the entries collected so far to the client by means of the entryAdded notification.
entryAdded
Link copied to clipboard
fun entryAdded(): Flowable<EntryAddedEvent>
Issued when new message was logged.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
name
Link copied to clipboard
fun name(): String
Returns domain name.
startViolationsReport
Link copied to clipboard
fun startViolationsReport(input: StartViolationsReportRequest): Single<RequestResponseFrame>
start violation reporting.
stopViolationsReport
Link copied to clipboard
fun stopViolationsReport(): Single<RequestResponseFrame>
Stop violation reporting.

Sources

jvm source
Link copied to clipboard